package rabbitmq.constants;

public class Constants {
    public static final String HOST = "115.159.5.204";
    public static final int PORT = 5672;
    public static final String USERNAME = "admin";
    public static final String PASSWORD = "admin";
    public static final String VIRTUAL_HOST = "/";

    //工作队列模式
    public static final String WORK_QUEUE = "work.queue";
    public static final String WORK_EXCHANGE = "";

    //发布/订阅模式
    public static final String FANOUT_EXCHANGE = "fanout.exchange";
    public static final String FANOUT_QUEUE1 = "fanout.queue1";
    public static final String FANOUT_QUEUE2 = "fanout.queue2";

    //定向模式
    public static final String DIRECT_EXCHANGE = "direct.exchange";
    public static final String DIRECT_QUEUE1 = "direct.queue1";
    public static final String DIRECT_QUEUE2 = "direct.queue2";

    //通配符模式
    public static final String TOPICS_EXCHANGE = "topics.exchange";
    public static final String TOPICS_QUEUE1 = "topics.queue1";
    public static final String TOPICS_QUEUE2 = "topics.queue2";

    //RPC模式
    public static final String RPC_QUEUE1 = "rpc.queue1";
    public static final String RPC_QUEUE2 = "rpc.queue2";

    //发布者确认
    public static final String PRODUCER_CONFIRM_QUEUE1 = "producer.confirm.queue1";
    public static final String PRODUCER_CONFIRM_QUEUE2 = "producer.confirm.queue2";
    public static final String PRODUCER_CONFIRM_QUEUE3 = "producer.confirm.queue3";
}
